home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / il_c / ilView.z / ilView
Encoding:
Text File  |  2002-10-03  |  76.1 KB  |  1,584 lines

  1.  
  2.  
  3.  
  4. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      iiiillllVVVViiiieeeewwww - displays an image within an ilDisplay
  10.  
  11.  
  12. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  13.      ilLink
  14.  
  15.  
  16. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  17.      #include <il/ilCdefs.h>
  18.  
  19.  
  20. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      iiiillllVVVViiiieeeewwww displays an image within a rectangular area in an X window that is
  22.      managed by iiiillllDDDDiiiissssppppllllaaaayyyy. It has several attributes including position, size
  23.      and image position. The position and size control where the image is
  24.      displayed within the window and how much of the image to display. The
  25.      image position controls what part of the image is displayed. In addition,
  26.      each view has a border which is drawn inside the view. By default, the
  27.      border is turned off. However, functions on ilView are defined to turn
  28.      the borders on as well as to set the border color and width. By default,
  29.      the border is red and is 2 pixels wide.  An ilView is created by calling
  30.      aaaaddddddddVVVViiiieeeewwww() on iiiillllDDDDiiiissssppppllllaaaayyyy. ilView is intended to be used with ilDisplay. See
  31.      ilDisplay man page.
  32.  
  33.      IIIInnnnppppuuuutttt IIIImmmmaaaaggggeeeessss
  34.  
  35.      An ilView object can be created from any ilImage. The proper data type,
  36.      coordinate space and color conversions will be performed automatically.
  37.      In addition, an ilView can be created from an XImage.  The XImage is
  38.      converted to an ilImage using ilXImage. For multi-frame images (z > 1),
  39.      the z-plane to be displayed can be set. If there is no input image, the
  40.      background color is displayed. By default, the background color is black,
  41.      but may be set using setBackground().
  42.  
  43.      DDDDiiiissssppppllllaaaayyyy OOOOppppeeeerrrraaaattttoooorrrrssss
  44.  
  45.      A variety of display operators are provided to change the view position,
  46.      view size and image position. These display operators call the
  47.      corresponding method on ilDisplay, passing a pointer to itself.
  48.      Therefore, only the view the operator is called on is affected.
  49.  
  50.      The _m_o_d_e parameter passed to display operators, is comprised of one or
  51.      more bit fields. It is passed as an iiiinnnntttt value to allow the bit fields to
  52.      be combined using a bitwise OR. These bit fields are defined as
  53.      enumerated values in iiiillll////iiiillllDDDDiiiissssppppllllaaaayyyyDDDDeeeeffffssss....hhhh. There are several types of modes
  54.      defined, including: ilDefer to defer painting, ilClip to prevent moving
  55.      beyond the edge of the image, ilNoSwap to prevent swapping back/front
  56.      buffers, and operator-specific flags such as ilRightEdge for the wipe
  57.      operator and coordinate interpretation.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  71.  
  72.  
  73.  
  74.      The _x, _y coordinates passed to a display operator can be interpreted as
  75.      absolute values, change from current view configuration, or as relative
  76.      to the values initialized by sssseeeettttSSSSttttaaaarrrrtttt(((()))).  Coordinate interpretation is
  77.      specified by the following flags in _m_o_d_e:
  78.           _i_l_R_e_l_V_a_l    Interpreted relative to the starting _x_y position
  79.                       established with sssseeeettttSSSSttttaaaarrrrtttt(). The difference between the
  80.                       specified _x_y parameters and the starting _x_y location is
  81.                       used. The starting _x_y location is then updated. Useful
  82.                       for interactive manipulation.
  83.  
  84.           _i_l_O_l_d_R_e_l    Same as _i_l_R_e_l_V_a_l except that the starting _x,_y location
  85.                       is not updated. This is useful when doing several
  86.                       operations based on the same _x,_y coordinates.
  87.  
  88.           _i_l_D_e_l_V_a_l    Interpreted as changes (delta) to the current view
  89.                       configuration.
  90.  
  91.           _i_l_A_b_s_V_a_l    Interpreted as absolute values relative to the ilDisplay
  92.                       origin (upper-left).
  93.  
  94.  
  95. CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
  96.      CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
  97.  
  98.           ilView* ilViewCreate(ilDisplay* disply, ilImage* img,
  99.                                int mode)
  100.           ilView* ilViewDisp(ilDisplay* disply)
  101.           ilView* ilViewXImg(ilDisplay* disply, XImage* img, int mode)
  102.  
  103.      DDDDeeeessssttttrrrruuuuccccttttoooorrrr
  104.  
  105.           void ilViewDelete(ilView *obj)
  106.  
  107.      AAAAcccccccceeeessssssssiiiinnnngggg vvvviiiieeeewwww aaaattttttttrrrriiiibbbbuuuutttteeeessss
  108.  
  109.           ilDisplay* ilViewGetDisplay(ilView *obj)
  110.           void ilViewGetPos(ilView *obj, int* x, int* y)
  111.           void ilViewGetSize(ilView *obj, int* x, int* y)
  112.           virtual void ilViewGetImgPos(ilView *obj, float* x, float* y,
  113.                                        unsigned imgIdx)
  114.           virtual void ilViewGetImgSize(ilView *obj, int* x, int* y,
  115.                                         unsigned imgIdx)
  116.           virtual void ilViewGetImgPos3D(ilView *obj, float* x,
  117.                                          float* y, float* z, unsigned imgIdx)
  118.           virtual void ilViewGetImgSize3D(ilView *obj, int* x, int* y,
  119.                                           int* z, unsigned imgIdx)
  120.           float ilViewGetZ(ilView *obj)
  121.           void ilViewSetZ(ilView *obj, float z)
  122.           virtual void ilViewSetImg(ilView *obj, ilImage* ilInImg,
  123.                                     unsigned imgIdx)
  124.           void ilViewSetXImg(ilView *obj, XImage* xInImg)
  125.  
  126.  
  127.                                                                         PPPPaaaaggggeeee 2222
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  135.  
  136.  
  137.  
  138.           virtual ilImage* ilViewGetImg(ilView *obj, unsigned imgIdx)
  139.           XImage* ilViewGetXImg(ilView *obj)
  140.           void ilViewSetNop(ilView *obj, int noOp)
  141.           int ilViewIsNop(ilView *obj)
  142.           void ilViewSetDefer(ilView *obj, int defer)
  143.           int ilViewIsDefer(ilView *obj)
  144.           virtual int ilViewIsStereoView(ilView *obj)
  145.           int ilViewIsTransparencyShown(ilView* obj)
  146.  
  147.      PPPPiiiixxxxeeeellll aaaacccccccceeeessssssss
  148.  
  149.           void ilViewGetPixel(ilView *obj, int x, int y, iflPixel* pix,
  150.                               int mode, unsigned imgIdx)
  151.           void ilViewSetPixel(ilView *obj, int x, int y, iflPixel* pix,
  152.                               int mode, unsigned imgIdx)
  153.  
  154.      QQQQuuuueeeerrrryyyyiiiinnnngggg////ppppoooossssiiiittttiiiioooonnnniiiinnnngggg bbbbyyyy iiiimmmmaaaaggggeeee llllooooccccaaaattttiiiioooonnnn
  155.  
  156.           void ilViewGetImgLoc(ilView *obj, float ix, float iy,
  157.                                float* x, float* y, int mode,
  158.                                iflOrientation orientation,
  159.                                unsigned imgIdx)
  160.           void ilViewGetLoc(ilView *obj, float x, float y, float* ix,
  161.                             float* iy, int mode, iflOrientation orientation,
  162.                             unsigned imgIdx)
  163.           void ilViewGetLocMode(ilView *obj, float* ix, float* iy,
  164.                                 int mode, iflOrientation orientation,
  165.                                 unsigned imgIdx)
  166.           void ilViewSetLoc(ilView *obj, float ix, float iy, float x,
  167.                             float y, int mode, iflOrientation orientation),
  168.                             unsigned imgIdx)
  169.           void ilViewSetLocMode(ilView *obj, float ix, float iy,
  170.                                 int mode, iflOrientation orientation,
  171.                                 unsigned imgIdx)
  172.  
  173.      AAAAuuuuttttoooommmmaaaattttiiiicccc cccceeeennnntttteeeerrrriiiinnnngggg
  174.  
  175.           void ilViewSetAutoCenter(ilView *obj, int enable)
  176.           int ilViewIsAutoCentered(ilView *obj)
  177.  
  178.      EEEEddddggggeeee ffffiiiinnnnddddiiiinnnngggg
  179.  
  180.           int ilViewFindEdge(ilView *obj, int x, int y, int margin-1,
  181.                              int mode)
  182.  
  183.      BBBBaaaacccckkkkggggrrrroooouuuunnnndddd,,,, ffffiiiillllllll aaaannnndddd eeeerrrrrrrroooorrrr ccccoooolllloooorrrrssss
  184.  
  185.           void ilViewGetBackground(ilView *obj, float* red, float* green,
  186.                                    float* blue)
  187.           void ilViewSetBackground(ilView *obj, float red, float green,
  188.                                    float blue)
  189.           void ilViewGetErrorColor(ilView *obj, float* red, float* green,
  190.  
  191.  
  192.  
  193.                                                                         PPPPaaaaggggeeee 3333
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  201.  
  202.  
  203.  
  204.                                    float* blue)
  205.           void ilViewSetErrorColor(ilView *obj, float red, float green,
  206.                                    float blue)
  207.  
  208.      SSSSttttaaaattttiiiicccc uuuuppppddddaaaatttteeee ccccoooonnnnttttrrrroooollll
  209.  
  210.           int ilViewIsStaticUpdate(ilView *obj)
  211.           void ilViewSetStaticUpdate(ilView *obj, int enable)
  212.           void ilViewSetAutoStaticUpdate(ilView *obj, int enable)
  213.  
  214.      VVVViiiieeeewwww sssseeeelllleeeeccccttttiiiioooonnnn
  215.  
  216.           void ilViewSelect(ilView *obj)
  217.           void ilViewUnselect(ilView *obj)
  218.           int ilViewIsSelected(ilView *obj)
  219.  
  220.      CCCCaaaallllllllbbbbaaaacccckkkk ssssuuuuppppppppoooorrrrtttt
  221.  
  222.           void ilViewSetCallback(ilView *obj, ilCallback* prepare,
  223.                                  ilCallback* render, ilCallback* finish)
  224.           void ilViewSetBorderCallback(ilView *obj, ilCallback* prepare,
  225.                                        ilCallback* render, ilCallback* finish)
  226.           void ilViewGetCallback(ilView *obj, ilCallback** prepare,
  227.                                  ilCallback** render, ilCallback** finish)
  228.           void ilViewGetBorderCallback(ilView *obj, ilCallback** prepare,
  229.                                        ilCallback** render, ilCallback** finish)
  230.           void ilViewEnableCallback(ilView *obj, int enable)
  231.           void ilViewEnableBorderCallback(ilView *obj, int enable)
  232.           int ilViewIsCallbackEnabled(ilView *obj)
  233.           int ilViewIsBorderCallbackEnabled(ilView *obj)
  234.  
  235.      BBBBoooorrrrddddeeeerrrr ccccoooonnnnttttrrrroooollll
  236.  
  237.           int ilViewGetBorderStyle(ilView *obj)
  238.           void ilViewSetBorderStyle(ilView *obj, int style)
  239.           int ilViewGetBorderWidth(ilView *obj)
  240.           void ilViewSetBorderWidth(ilView *obj, int bordWidth)
  241.           void ilViewGetBorderColor(ilView *obj, float* red, float* green,
  242.                                     float* blue)
  243.           void ilViewSetBorderColor(ilView *obj, float red, float green,
  244.                                     float blue)
  245.           void ilViewSetBorders(ilView *obj, int flag, int mode)
  246.           int ilViewHasBorders(ilView *obj)
  247.           void ilViewGetBorders(ilView *obj, iflTile2Dint* top,
  248.                                 iflTile2Dint* bot, iflTile2Dint* lf,
  249.                                 iflTile2Dint* rt, iflOrientation orientation)
  250.  
  251.      DDDDiiiissssppppllllaaaayyyy ooooppppeeeerrrraaaattttoooorrrrssss
  252.  
  253.           void ilViewMoveView(ilView *obj, int x, int y, int mode)
  254.           void ilViewMoveImg(ilView *obj, float x, float y, int mode)
  255.           void ilViewWipe(ilView *obj, int x, int y, int mode)
  256.  
  257.  
  258.  
  259.                                                                         PPPPaaaaggggeeee 4444
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  267.  
  268.  
  269.  
  270.           void ilViewWipeSize(ilView *obj, int x, int y, int mode)
  271.           void ilViewWipeSplit(ilView *obj, int x, int y, int mode)
  272.           void ilViewSplit(ilView *obj, int mode)
  273.           void ilViewAlignImg(ilView *obj, int mode)
  274.           void ilViewAlignView(ilView *obj, int mode, ilView* rView)
  275.           void ilViewUpdate(ilView *obj, int x, int y, int nx, int ny,
  276.                             float imgX, float imgY, int mode)
  277.           void ilViewPaint(ilView *obj, int mode)
  278.           void ilViewQPaint(ilView *obj, ilMpNode* parent, int mode,
  279.                             ilMpManager** pMgr)
  280.           void ilViewDisplay(ilView *obj, int vMode, int iMode)
  281.           void ilViewResize(ilView *obj, int mode)
  282.           ilStatus ilViewSave(ilView *obj, ilImage* img, int mode)
  283.           void ilViewSetDirty(ilView *obj)
  284.  
  285.  
  286.  
  287. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  288.      iiiillllVVVViiiieeeewwww(((())))
  289.  
  290.           ilView* ilViewCreate(ilDisplay* disply, ilImage* img,
  291.                                int mode)
  292.           ilView* ilViewXImg(ilDisplay* disply, XImage* img, int mode)
  293.           ilView* ilViewDisp(ilDisplay* disply)
  294.  
  295.  
  296.           All three versions of the constructor require a pointer to the
  297.           ilDisplay that is to manage this ilView. The first version takes a
  298.           pointer to an iiiillllIIIImmmmaaaaggggeeee and the second takes a pointer to an XXXXIIIImmmmaaaaggggeeee.
  299.           The XImage is converted to an ilImage using iiiillllXXXXIIIImmmmaaaaggggeeee. The third
  300.           version of the constructor allows a view to be created without an
  301.           image. This view will display the background color until an image is
  302.           mapped to it using setImg() or setXImg(). By default, the view is
  303.           the size of the input image.  However, if ilClip is passed in _m_o_d_e,
  304.           the view size will be clipped to the size of ilDisplay's display
  305.           area.
  306.  
  307.           By default, the background color is black, the border color is
  308.           yellow, the border width is 4 pixels with a border style of
  309.           _i_l_V_i_e_w_B_d_r_M_i_d_d_l_e_H_a_n_d_l_e_s, and the error color is magenta. However,
  310.           these attributes can be set.
  311.  
  312.           The view is initially positioned at the origin of the display area.
  313.           And by default, the view is the size of the image. However, if there
  314.           is no input image or if ilClip is specified, the view is the size of
  315.           the display area.
  316.  
  317.      iiiillllVVVViiiieeeewwwwDDDDeeeelllleeeetttteeee(((())))
  318.  
  319.           void ilViewDelete(ilView *obj)
  320.  
  321.  
  322.  
  323.  
  324.  
  325.                                                                         PPPPaaaaggggeeee 5555
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  333.  
  334.  
  335.  
  336.           Removes itself from the ilDisplay's view stack, destroys the object
  337.           and causes the display to be redrawn.
  338.  
  339.      aaaalllliiiiggggnnnnIIIImmmmgggg(((())))
  340.  
  341.           void ilViewAlignImg(ilView *obj, int mode)
  342.  
  343.  
  344.           Aligns the image mapped to this view based on _m_o_d_e. For example, if
  345.           ilCenter is specified, the images will be centered within the view.
  346.           Similarly, if ilBottomLeft is specified, the upper left corner of
  347.           the image is aligned to the upper left corner of the view. See
  348.           _i_l/_i_l_D_i_s_p_l_a_y_D_e_f._h for a complete list of modes.
  349.  
  350.      aaaalllliiiiggggnnnnVVVViiiieeeewwww(((())))
  351.  
  352.           void ilViewAlignView(ilView *obj, int mode, ilView* rView)
  353.  
  354.  
  355.           Aligns the view to the reference view specified in _r_V_i_e_w. The two
  356.           views are aligned based on bit flags passed in _m_o_d_e. For example, if
  357.           ilCenter is specified, the center of the view is aligned to the
  358.           center of the reference view. Similarly, if ilTopRight is specified,
  359.           the upper right corner of the view is aligned to the upper right
  360.           corner of the reference view. If NULL is passed in rView, the
  361.           background view in ilDisplay is used. See _i_l/_i_l_D_i_s_p_l_a_y_D_e_f_s._h for a
  362.           complete list of modes.
  363.  
  364.      ddddiiiissssppppllllaaaayyyy(((())))
  365.  
  366.           void ilViewDisplay(ilView *obj, int vMode, int iMode)
  367.  
  368.  
  369.           This function resizes, aligns and paints the view. If ilDefer is
  370.           specified, then painting is deferred. The view is resized to the
  371.           size of the image.  However, if ilClip is specified, the view is
  372.           clipped to the size of the display.  The view is aligned to the
  373.           display as specified in _v_M_o_d_e and the image mapped to the view is
  374.           aligned as specified in _i_M_o_d_e. See <_i_l/_i_l_D_i_s_p_l_a_y_D_e_f_s._h> for a
  375.           complete list
  376.  
  377.      eeeennnnaaaabbbblllleeeeBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  378.  
  379.           void ilViewEnableBorderCallback(ilView *obj, int enable)
  380.  
  381.  
  382.           This function enables or disables the border callback. See
  383.  
  384.      eeeennnnaaaabbbblllleeeeCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.                                                                         PPPPaaaaggggeeee 6666
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  399.  
  400.  
  401.  
  402.           void ilViewEnableCallback(ilView *obj, int enable)
  403.  
  404.  
  405.           This function enables or disables the post-render callback for this
  406.           view. See iiiillllVVVViiiieeeewwwwSSSSeeeettttCCCCaaaallllllllbbbbaaaacccckkkk().
  407.  
  408.      ffffiiiinnnnddddEEEEddddggggeeee(((())))
  409.  
  410.           int ilViewFindEdge(ilView *obj, int x, int y, int margin-1,
  411.                              int mode)
  412.  
  413.  
  414.           Returns all edges that are within _m_a_r_g_i_n pixels of _x and _y.  If -1
  415.           is passed in _m_a_r_g_i_n, then the default margin of 15 pixels or the
  416.           border width is used - which ever is larger. For example, if x and y
  417.           are near the right edge, then ilRightEdge is returned. If x and y
  418.           are near the bottom right corner, then ilBottomRight (ilBottomEdge |
  419.           ilRightEdge) is returned. If there are no edges within margin
  420.           pixels, then ilNoEdge is returned. If x and y are more than margin
  421.           pixels outside of the view, then ilNoView is returned. Note that the
  422.           value returned can be used directly to perform a wipe operation.
  423.  
  424.           The x and y parameters are interpreted based on _m_o_d_e. If ilDspCoord
  425.           is specified, the x and y are interpreted as display (window)
  426.           coordinates. If ilScrCoord is specified, then they are interpreted
  427.           as screen coordinates. See _i_l/_i_l_D_i_s_p_l_a_y_D_e_f._h for a complete list of
  428.           modes.
  429.  
  430.      ggggeeeettttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd(((())))
  431.  
  432.           void ilViewGetBackground(ilView *obj, float* red, float* green,
  433.                                    float* blue)
  434.  
  435.  
  436.           Copies the current background color to _r_e_d, _g_r_e_e_n and _b_l_u_e.  By
  437.           default, the background color is black.
  438.  
  439.      ggggeeeettttBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  440.  
  441.           void ilViewGetBorderCallback(ilView *obj, ilCallback** prepare,
  442.                                        ilCallback** render, ilCallback** finish)
  443.  
  444.  
  445.           Returns the three border callbacks in _p_r_e_p_a_r_e, _r_e_n_d_e_r and _f_i_n_i_s_h.
  446.           See iiiillllVVVViiiieeeewwwwSSSSeeeettttBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk().
  447.  
  448.      ggggeeeettttBBBBoooorrrrddddeeeerrrrCCCCoooolllloooorrrr(((())))
  449.  
  450.           void ilViewGetBorderColor(ilView *obj, float* red, float* green,
  451.                                     float* blue)
  452.  
  453.  
  454.  
  455.  
  456.  
  457.                                                                         PPPPaaaaggggeeee 7777
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  465.  
  466.  
  467.  
  468.           Copies the current border color to _r_e_d, _g_r_e_e_n and _b_l_u_e.
  469.  
  470.      ggggeeeettttBBBBoooorrrrddddeeeerrrrSSSSttttyyyylllleeee(((())))
  471.  
  472.           int ilViewGetBorderStyle(ilView *obj)
  473.  
  474.  
  475.           Returns the current border style. See iiiillllVVVViiiieeeewwwwSSSSeeeettttBBBBoooorrrrddddeeeerrrrSSSSttttyyyylllleeee().
  476.  
  477.      ggggeeeettttBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh(((())))
  478.  
  479.           int ilViewGetBorderWidth(ilView *obj)
  480.  
  481.  
  482.           Returns the current border width in pixels.
  483.  
  484.      ggggeeeettttBBBBoooorrrrddddeeeerrrrssss(((())))
  485.  
  486.           void ilViewGetBorders(ilView *obj, iflTile2Dint* top,
  487.                                 iflTile2Dint* bot, iflTile2Dint* lf,
  488.                                 iflTile2Dint* rt, iflOrientation orientation)
  489.  
  490.  
  491.           This function returns the four tiles that makeup the view border.
  492.           The top and bottom tiles are the full width of the view and have a
  493.           height of bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh pixels. The left and right tiles have a height
  494.           equal to the view height minus twice the border width and have a
  495.           width of bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh pixels.
  496.  
  497.      ggggeeeettttCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  498.  
  499.           void ilViewGetCallback(ilView *obj, ilCallback** prepare,
  500.                                  ilCallback** render, ilCallback** finish)
  501.  
  502.  
  503.           Returns the three post-render callbacks in _p_r_e_p_a_r_e, _r_e_n_d_e_r and
  504.           _f_i_n_i_s_h. See iiiillllVVVViiiieeeewwwwSSSSeeeettttCCCCaaaallllllllbbbbaaaacccckkkk().
  505.  
  506.      ggggeeeettttDDDDiiiissssppppllllaaaayyyy(((())))
  507.  
  508.           ilDisplay* ilViewGetDisplay(ilView *obj)
  509.  
  510.  
  511.           This method returns a pointer to the ilDisplay that this view is
  512.           associated with.
  513.  
  514.      ggggeeeettttEEEErrrrrrrroooorrrrCCCCoooolllloooorrrr(((())))
  515.  
  516.           void ilViewGetErrorColor(ilView *obj, float* red, float* green,
  517.                                    float* blue)
  518.  
  519.  
  520.  
  521.  
  522.  
  523.                                                                         PPPPaaaaggggeeee 8888
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  531.  
  532.  
  533.  
  534.           Copies the current error color to _r_e_d, _g_r_e_e_n and _b_l_u_e. By default
  535.           the error color is yellow.
  536.  
  537.      ggggeeeettttIIIImmmmgggg(((())))
  538.  
  539.           virtual ilImage* ilViewGetImg(ilView *obj, unsigned imgIdx)
  540.  
  541.  
  542.           Returns an iiiillllIIIImmmmaaaaggggeeee pointer to the view's image. The _i_m_g_I_d_x parameter
  543.           controls which image of a multi-image view (e.g., stereo) to select.
  544.           Currently only two values are accepted in imgIdx.  These are defined
  545.           in the ilViewImgPairIdx enumerated type. They are ilViewImgPairLeft
  546.           and ilViewImgPairRight. Since this view class does not support
  547.           multiple images within a view, however, this parameter is ignored in
  548.           this implementation.
  549.  
  550.      ggggeeeettttIIIImmmmggggLLLLoooocccc(((())))
  551.  
  552.           void ilViewGetImgLoc(ilView *obj, float ix, float iy,
  553.                                float* x, float* y, int mode,
  554.                                iflOrientation orientation,
  555.                                unsigned imgIdx)
  556.  
  557.  
  558.           This function is similar to getLoc(). It returns the image location
  559.           specified by _i_x, _i_y relative to the display window. The location is
  560.           returned in _x, _y and is mapped to the specified _o_r_i_e_n_t_a_t_i_o_n. If no
  561.           orientation is specified, the returned xy location is in the
  562.           display's workOrientation which is iiiiffffllllUUUUppppppppeeeerrrrLLLLeeeeffffttttOOOOrrrriiiiggggiiiinnnn.
  563.  
  564.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  565.           (e.g., stereo) to select. Currently only two values are accepted in
  566.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  567.           They are ilViewImgPairLeft and ilViewImgPairRight.
  568.  
  569.      ggggeeeettttIIIImmmmggggPPPPoooossss(((())))
  570.  
  571.           virtual void ilViewGetImgPos3D(ilView *obj, float* x,
  572.                                          float* y, float* z, unsigned imgIdx)
  573.           virtual void ilViewGetImgPos(ilView *obj, float* x, float* y,
  574.                                        unsigned imgIdx)
  575.  
  576.  
  577.           Returns the position of the image within the view in _x, _y. The image
  578.           position controls what part of the image is displayed in the view,
  579.           similar to the way getTile works. In other words, the image position
  580.           corresponds to the upper left corner of the view (not the origin of
  581.           the image).  The 3D version returns the image position in the x,y,z
  582.           dimensions.  The _i_m_g_I_d_x parameter controls which image of a multi-
  583.           image view (e.g., stereo) to select. Currently only two values are
  584.           accepted in imgIdx.  These are defined in the ilViewImgPairIdx
  585.           enumerated type. They are ilViewImgPairLeft and ilViewImgPairRight.
  586.  
  587.  
  588.  
  589.                                                                         PPPPaaaaggggeeee 9999
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  597.  
  598.  
  599.  
  600.           Since this view class does not support multiple images within a
  601.           view, however, this parameter is ignored.
  602.  
  603.      ggggeeeettttIIIImmmmggggSSSSiiiizzzzeeee(((())))
  604.  
  605.           virtual void ilViewGetImgSize3D(ilView *obj, int* x, int* y,
  606.                                           int* z, unsigned imgIdx)
  607.           virtual void ilViewGetImgSize(ilView *obj, int* x, int* y,
  608.                                         unsigned imgIdx)
  609.  
  610.  
  611.           Returns the size of the image in _x, _y.  The 3D version also returns
  612.           the image size in the z dimension.  The _i_m_g_I_d_x parameter controls
  613.           which image of a multi-image view (e.g., stereo) to select.
  614.           Currently only two values are accepted in imgIdx.  These are defined
  615.           in the ilViewImgPairIdx enumerated type. They are ilViewImgPairLeft
  616.           and ilViewImgPairRight. Since this view class does not support
  617.           multiple images within a view, however, this parameter is ignored.
  618.  
  619.      void ilViewGetLoc(ilView *obj, float x, float y, float* ix,
  620.                        float* iy, int mode, iflOrientation orientation,
  621.                        unsigned imgIdx) void ilViewGetLocMode(ilView *obj,
  622.      float* ix, float* iy,
  623.                            int mode, iflOrientation orientation,
  624.                            unsigned imgIdx)
  625.  
  626.  
  627.  
  628.      This function returns the location in the image, corresponding to _x and
  629.      _y. The location in the image is returned in _i_x and _i_y and is mapped to
  630.      the specified _o_r_i_e_n_t_a_t_i_o_n. If no orientation is specified, the returned
  631.      xy location is in the display's workOrientation which is
  632.      iiiiffffllllUUUUppppppppeeeerrrrLLLLeeeeffffttttOOOOrrrriiiiggggiiiinnnn. If iiiillllLLLLooooccccIIIInnnn is passed in _m_o_d_e, the location is
  633.      returned in the input space of the image. If iiiillllLLLLooooccccOOOOuuuutttt is passed in _m_o_d_e,
  634.      the location is returned in the output space of the image.  For example,
  635.      if an ilRotZoomIng is mapped to the view and ilLocIn is specified, _i_x and
  636.      _i_y will correspond to the location in the unzoomed image. However if
  637.      ilLocOut is specified, _i_x and _i_y will correspond to the location in the
  638.      zoomed image.
  639.  
  640.  
  641.      The second version determines the desired location based on _m_o_d_e. For
  642.      example, if iiiillllCCCCeeeennnntttteeeerrrr is specified, the location corresponding to the
  643.      center of the view is returned. If iiiillllBBBBoooottttttttoooommmmLLLLeeeefffftttt is specified, the
  644.      location corresponding to the bottom left corner of the view is returned.
  645.      Note that _m_o_d_e is a bit-wise inclusive OR of various flags defined in
  646.      ilDisplayDefs.h.
  647.  
  648.  
  649.      In both versions the _i_m_g_I_d_x parameter controls which image of a multi-
  650.      image view (e.g., stereo) to select. Currently only two values are
  651.      accepted in imgIdx.  These are defined in the ilViewImgPairIdx enumerated
  652.  
  653.  
  654.  
  655.                                                                        PPPPaaaaggggeeee 11110000
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  663.  
  664.  
  665.  
  666.      type. They are ilViewImgPairLeft and ilViewImgPairRight.
  667.  
  668.      ggggeeeettttPPPPiiiixxxxeeeellll(((())))
  669.  
  670.           void ilViewGetPixel(ilView *obj, int x, int y, iflPixel* pix,
  671.                               int mode, unsigned imgIdx)
  672.  
  673.  
  674.           Returns the pixel in the image corresponding to the location _x and
  675.           _y. The pixel value is returned in _p_i_x. The x and y parameters are
  676.           interpreted based on _m_o_d_e. If ilDspCoord is specified, the x and y
  677.           are interpreted as display (window) coordinates.  If ilScrCoord is
  678.           specified, then they are interpreted as screen coordinates. (see
  679.           also setPixel())
  680.  
  681.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  682.           (e.g., stereo) to select. Currently only two values are accepted in
  683.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  684.           They are ilViewImgPairLeft and ilViewImgPairRight.
  685.  
  686.      ggggeeeettttPPPPoooossss(((())))
  687.  
  688.           void ilViewGetPos(ilView *obj, int* x, int* y)
  689.  
  690.  
  691.           Returns the position of the view within the display in _x, _y. Any
  692.           pending changes to the view position are accounted for.
  693.  
  694.      ggggeeeettttSSSSiiiizzzzeeee(((())))
  695.  
  696.           void ilViewGetSize(ilView *obj, int* x, int* y)
  697.  
  698.  
  699.           Returns the size of the view in _x and _y. Any pending changes to the
  700.           view size are accounted for.
  701.  
  702.      ggggeeeettttXXXXIIIImmmmgggg(((())))
  703.  
  704.           XImage* ilViewGetXImg(ilView *obj)
  705.  
  706.  
  707.           Returns an XXXXIIIImmmmaaaaggggeeee pointer to the view's image.
  708.  
  709.      ggggeeeettttZZZZ(((())))
  710.  
  711.           float ilViewGetZ(ilView *obj)
  712.  
  713.  
  714.           Returns the current z dimension being displayed for the mapped
  715.           image.  An ilImage may have a z dimension greater than 1. In which
  716.           case, any one of these xy planes can be displayed. See also sssseeeettttZZZZ(((()))).
  717.  
  718.  
  719.  
  720.  
  721.                                                                        PPPPaaaaggggeeee 11111111
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  729.  
  730.  
  731.  
  732.      hhhhaaaassssBBBBoooorrrrddddeeeerrrrssss(((())))
  733.  
  734.           int ilViewHasBorders(ilView *obj)
  735.  
  736.  
  737.           Returns TRUE if borders are enabled, FALSE otherwise.
  738.  
  739.      iiiissssAAAAuuuuttttooooCCCCeeeennnntttteeeerrrreeeedddd(((())))
  740.  
  741.           int ilViewIsAutoCentered(ilView *obj)
  742.  
  743.  
  744.           Returns TRUE if auto centering are enabled, FALSE otherwise.  See
  745.           sssseeeettttAAAAuuuuttttooooCCCCeeeennnntttteeeerrrr() for more details.
  746.  
  747.      iiiissssBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkkEEEEnnnnaaaabbbblllleeeedddd(((())))
  748.  
  749.           int ilViewIsBorderCallbackEnabled(ilView *obj)
  750.  
  751.  
  752.           Returns _T_R_U_E if the border callback has been set and is enabled.
  753.           Otherwise it returns _F_A_L_S_E. See
  754.  
  755.      iiiissssCCCCaaaallllllllbbbbaaaacccckkkkEEEEnnnnaaaabbbblllleeeedddd(((())))
  756.  
  757.           int ilViewIsCallbackEnabled(ilView *obj)
  758.  
  759.  
  760.           Returns _T_R_U_E if the border callback has been set and is enabled.
  761.           Otherwise it returns _F_A_L_S_E. See iiiillllVVVViiiieeeewwwwSSSSeeeettttCCCCaaaallllllllbbbbaaaacccckkkk().
  762.  
  763.      iiiissssDDDDeeeeffffeeeerrrr(((())))
  764.  
  765.           int ilViewIsDefer(ilView *obj)
  766.  
  767.  
  768.           Returns TRUE if painting is deferred, FALSE otherwise. See
  769.           setDefer() for more information.
  770.  
  771.      iiiissssNNNNoooopppp(((())))
  772.  
  773.           int ilViewIsNop(ilView *obj)
  774.  
  775.  
  776.           Returns the state of the NOP flag. If the NOP flag is TRUE then the
  777.           view will be unaffected by display operations on the view stack in
  778.           ilDisplay.
  779.  
  780.      iiiissssSSSSeeeelllleeeecccctttteeeedddd(((())))
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.                                                                        PPPPaaaaggggeeee 11112222
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  795.  
  796.  
  797.  
  798.           int ilViewIsSelected(ilView *obj)
  799.  
  800.  
  801.           Returns TRUE if the view is selected, FALSE otherwise. See select()
  802.           for more information.
  803.  
  804.      iiiissssSSSSttttaaaattttiiiiccccUUUUppppddddaaaatttteeee(((())))
  805.  
  806.           int ilViewIsStaticUpdate(ilView *obj)
  807.  
  808.  
  809.           Returns TRUE if the staticUpdate flag or autoStaticUpdate flag are
  810.           TRUE.  See setStaticUpdate() and setAutoStaticUpdate() for
  811.           information.
  812.  
  813.      iiiissssSSSStttteeeerrrreeeeooooVVVViiiieeeewwww(((())))
  814.  
  815.           virtual int ilViewIsStereoView(ilView *obj)
  816.  
  817.  
  818.           Returns TRUE if the view is a stereo view.
  819.  
  820.      iiiissssTTTTrrrraaaannnnssssppppaaaarrrreeeennnnccccyyyySSSShhhhoooowwwwnnnn(((())))
  821.  
  822.           int ilViewIsTransparencyShown(ilView* obj)
  823.  
  824.  
  825.           Returns TRUE if transparency is used when displaying the image in
  826.           the view.
  827.  
  828.      mmmmoooovvvveeeeIIIImmmmgggg(((())))
  829.  
  830.           void ilViewMoveImg(ilView *obj, float x, float y, int mode)
  831.  
  832.  
  833.           This function moves the image within the view, as specified by _x and
  834.           _y. The _m_o_d_e controls how the function operates. If ilClip is passed
  835.           in mode, the image position is clipped to prevent moving beyond the
  836.           edge of the image. However, by default, the image may be moved
  837.           beyond its edge, exposing the image's fill value. The view is
  838.           painted after the image has been moved, unless ilDefer is passed in
  839.           mode. The mode also controls how the x and y parameters are
  840.           interpreted.
  841.  
  842.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  843.           the image position. If ilAbsVal is specified, x and y specify the
  844.           new position of the image. Note that the image position corresponds
  845.           to the upper-left corner of the view, rather than the origin of the
  846.           image.
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.                                                                        PPPPaaaaggggeeee 11113333
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  861.  
  862.  
  863.  
  864.           If ilRelVal is passed in _m_o_d_e, then x and y are interpreted relative
  865.           to a starting xy coordinate maintained within ilDisplay.  Typically,
  866.           ilRelVal is used for interactive applicatons that use the mouse to
  867.           control movement. The sssseeeettttSSSSttttaaaarrrrtttt(((()))) function on ilDisplay must be
  868.           called to set the starting xy location. Then the difference between
  869.           the starting xy location and the specified xy location is used to
  870.           adjust the image position. The starting xy location is then updated.
  871.           Specifying ilOldRel has the same effect as ilRelVal except that the
  872.           starting xy location is not updated.
  873.  
  874.      mmmmoooovvvveeeeVVVViiiieeeewwww(((())))
  875.  
  876.           void ilViewMoveView(ilView *obj, int x, int y, int mode)
  877.  
  878.  
  879.           This function moves the view within the display, as specified by
  880.           _a_n_d _y. _T_h_e _m_o_d_e _c_o_n_t_r_o_l_s _h_o_w _t_h_e _f_u_n_c_t_i_o_n _o_p_e_r_a_t_e_s.  _I_f _i_l_C_l_i_p _i_s
  881.           _p_a_s_s_e_d _i_n _m_o_d_e, _t_h_e _v_i_e_w _p_o_s_i_t_i_o_n _i_s _c_l_i_p_p_e_d _t_o _p_r_e_v_e_n_t _m_o_v_i_n_g
  882.           _b_e_y_o_n_d _t_h_e _e_d_g_e _o_f _t_h_e _d_i_s_p_l_a_y. _H_o_w_e_v_e_r, _b_y _d_e_f_a_u_l_t, _t_h_e _v_i_e_w _m_a_y _b_e
  883.           _m_o_v_e_d _b_e_y_o_n_d _t_h_e _e_d_g_e _o_f _t_h_e _d_i_s_p_l_a_y. _T_h_e _v_i_e_w _i_s _p_a_i_n_t_e_d _a_f_t_e_r _t_h_e
  884.           _v_i_e_w _h_a_s _b_e_e_n _m_o_v_e_d, _u_n_l_e_s_s _i_l_D_e_f_e_r _i_s _p_a_s_s_e_d _i_n _m_o_d_e. _T_h_e _m_o_d_e _a_l_s_o
  885.           _c_o_n_t_r_o_l_s _h_o_w _t_h_e _x _a_n_d _y _p_a_r_a_m_e_t_e_r_s _a_r_e _i_n_t_e_r_p_r_e_t_e_d.
  886.  
  887.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  888.           the view position. If ilAbsVal is specified, x and y specify the new
  889.           position of the view. Note that the view position corresponds to the
  890.           upper-left corner of the view relative to the upper-left corner of
  891.           the display.
  892.  
  893.           If ilRelVal is passed in _m_o_d_e, then x and y are interpreted relative
  894.           to a starting xy coordinate maintained within ilDisplay.Typically,
  895.           ilRelVal is used for interactive applicatons that use the mouse to
  896.           control movement. The sssseeeettttSSSSttttaaaarrrrtttt(((()))) function on ilDisplay must be
  897.           called to set the starting xy location. Then the difference between
  898.           the starting xy location and the specified xy location is used to
  899.           adjust the view position. The starting xy location is then updated.
  900.           Specifying ilOldRel has the same effect as ilRelVal except that the
  901.           starting xy location is not updated.
  902.  
  903.      ppppaaaaiiiinnnntttt(((())))
  904.  
  905.           void ilViewPaint(ilView *obj, int mode)
  906.  
  907.  
  908.           This function paints the view if it needs to be painted. If
  909.           ilPaintExpose is passed in _m_o_d_e, the view is forced to be painted.
  910.           If ilDefer is passed in _m_o_d_e, or if the view is deferred (see
  911.           setDefer()), then the view will not be painted. The view position,
  912.           size and image position are unaffected.
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.                                                                        PPPPaaaaggggeeee 11114444
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  927.  
  928.  
  929.  
  930.      qqqqPPPPaaaaiiiinnnntttt(((())))
  931.  
  932.           void ilViewQPaint(ilView *obj, ilMpNode* parent, int mode,
  933.                             ilMpManager** pMgr)
  934.  
  935.  
  936.           This function is identical to iiiillllVVVViiiieeeewwwwPPPPaaaaiiiinnnntttt() except that the paint
  937.           operation is queued and the function returns immediately. This
  938.           allows the application thread to return to processing events and
  939.           thus provide a responsive UI. See iiiillllMMMMppppMMMMaaaannnnaaaaggggeeeerrrr and iiiillllMMMMppppNNNNooooddddeeee for more
  940.           information.
  941.  
  942.           If an iiiillllMMMMppppNNNNooooddddeeee is passed as _p_a_r_e_n_t, the paint requests are queued on
  943.           the parent node. If _p_M_g_r is specified, the iiiillllMMMMppppMMMMaaaannnnaaaaggggeeeerrrr created to
  944.           queue the paint requests is returned. This allows an application to
  945.           setup a completion callback or wait for the queued requests to
  946.           complete.
  947.  
  948.      rrrreeeessssiiiizzzzeeee(((())))
  949.  
  950.           void ilViewResize(ilView *obj, int mode)
  951.  
  952.  
  953.           This function resizes the view to be the size of the image. However,
  954.           if ilClip is passed, the view size is clipped to the size of the
  955.           display.  In addition, an alignment mode such as ilCenter can be
  956.           passed in _m_o_d_e to center the image within the view. If ilNoAlign is
  957.           passed instead, no image alignment is done. Unless ilDefer is
  958.           passed, the view is painted after resizing and alignment.
  959.  
  960.      ssssaaaavvvveeee(((())))
  961.  
  962.           ilStatus ilViewSave(ilView *obj, ilImage* img, int mode)
  963.  
  964.  
  965.           This function saves a region of the display area into the ilImage
  966.           specified by _i_m_g. The region saved, starts at the current view
  967.           position and is the size of _i_m_g. By default borders are not painted.
  968.           However, if ilPaintBorder is passed in mode, then borders will be
  969.           painted.
  970.  
  971.      sssseeeelllleeeecccctttt(((())))
  972.  
  973.           void ilViewSelect(ilView *obj)
  974.  
  975.  
  976.           This function selects a view by turning on borders and setting the
  977.           nnnnoooopppp flag to FALSE. If the nop flag is TRUE, the view is not affected
  978.           during multi-view operations. See also unselect() and setNop().
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.                                                                        PPPPaaaaggggeeee 11115555
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  993.  
  994.  
  995.  
  996.      sssseeeettttAAAAuuuuttttooooCCCCeeeennnntttteeeerrrr(((())))
  997.  
  998.           void ilViewSetAutoCenter(ilView *obj, int enable)
  999.  
  1000.  
  1001.           This method enables or disables auto centering based on the value of
  1002.           the _e_n_a_b_l_e flag.  When auto centering is enabled the center position
  1003.           in the view of the ultimate source image for the displayed image
  1004.           will be tracked whenever the image is repositioned.  When the input
  1005.           image is altered and the view is repainted the last tracked position
  1006.           before the alteration will be recentered in the view.  This is very
  1007.           useful when diplaying a rotating or zooming image. When the angle or
  1008.           zoom factor are changed on the input image the same portion of the
  1009.           input to the operator image will be stay in the center of the view.
  1010.  
  1011.      sssseeeettttAAAAuuuuttttooooSSSSttttaaaattttiiiiccccUUUUppppddddaaaatttteeee(((())))
  1012.  
  1013.           void ilViewSetAutoStaticUpdate(ilView *obj, int enable)
  1014.  
  1015.  
  1016.           Enables or disables _a_u_t_o_S_t_a_t_i_c_U_p_d_a_t_e mode as specified by _e_n_a_b_l_e.
  1017.           When _a_u_t_o_S_t_a_t_i_c_U_p_d_a_t_e mode is enabled, a static update will occur
  1018.           when the view is painted after a reset has occurred.  A reset is
  1019.           caused by changing inputs or processing parameters in the chain. In
  1020.           this case, the entire exposed region of the view needs to be
  1021.           painted. Rather than painting the region as many small tiles, each
  1022.           rectangular region is painted as one large tile for better
  1023.           performance.  After the static update has been completed, normal
  1024.           tiled painting resumes. By default, automatic static update is
  1025.           enabled.  However, it only has effect for hardware acceleration.
  1026.  
  1027.      sssseeeettttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd(((())))
  1028.  
  1029.           void ilViewSetBackground(ilView *obj, float red, float green,
  1030.                                    float blue)
  1031.  
  1032.  
  1033.           Sets the background color to _r_e_d, _g_r_e_e_n and _b_l_u_e. The background
  1034.           color is only visible if no image is mapped to the view.
  1035.  
  1036.      sssseeeettttBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  1037.  
  1038.           void ilViewSetBorderCallback(ilView *obj, ilCallback* prepare,
  1039.                                        ilCallback* render, ilCallback* finish)
  1040.  
  1041.  
  1042.           Sets the three border callbacks to the iiiillllCCCCaaaallllllllbbbbaaaacccckkkk functions
  1043.           specified by _p_r_e_p_a_r_e, _r_e_n_d_e_r and _f_i_n_i_s_h. The prepare and finish
  1044.           callbacks are called from an IL compute thread and are used to
  1045.           allocate and deallocate any needed buffers or to compute and save
  1046.           any state information.  The render callback is called by the IL
  1047.           render thread and must execute as efficiently as possible for
  1048.  
  1049.  
  1050.  
  1051.                                                                        PPPPaaaaggggeeee 11116666
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1059.  
  1060.  
  1061.  
  1062.           maximum performance. Any graphics state changes must be restored
  1063.           before returning from the render callback. Note that the prepare and
  1064.           finish callbacks may be NULL if not required. However, the finish
  1065.           callback is required.
  1066.  
  1067.           The border callback(s) is called only if it has been set and
  1068.           enabled. It may be changed or disabled as needed. If the border
  1069.           callback is called, the normal view borders are not painted. This
  1070.           allows an application to draw custom borders if desired. An
  1071.           iiiillllVVVViiiieeeewwwwCCCCbbbbAAAArrrrgggg is passed to each of the three callbacks and provides
  1072.           member functions to support border and graphics rendering. For
  1073.           example, the delta view size, position and image position may be
  1074.           queried. Also a list of border tiles to draw may be aquired. See
  1075.           iiiillllVVVViiiieeeewwwwCCCCaaaallllllllbbbbaaaacccckkkk for more information.
  1076.  
  1077.      sssseeeettttBBBBoooorrrrddddeeeerrrrCCCCoooolllloooorrrr(((())))
  1078.  
  1079.           void ilViewSetBorderColor(ilView *obj, float red, float green,
  1080.                                     float blue)
  1081.  
  1082.  
  1083.           Sets the border color to _r_e_d, _g_r_e_e_n and _b_l_u_e.
  1084.  
  1085.      sssseeeettttBBBBoooorrrrddddeeeerrrrSSSSttttyyyylllleeee(((())))
  1086.  
  1087.           void ilViewSetBorderStyle(ilView *obj, int style)
  1088.  
  1089.  
  1090.           Sets the border style to _s_t_y_l_e. By default, the border style is
  1091.           iiiillllVVVViiiieeeewwwwBBBBddddrrrrSSSSoooolllliiiiddddLLLLiiiinnnneeeessss. Other border styles include
  1092.           iiiillllVVVViiiieeeewwwwBBBBddddrrrrDDDDaaaasssshhhheeeeddddLLLLiiiinnnneeeessss, iiiillllVVVViiiieeeewwwwBBBBddddrrrrCCCCoooorrrrnnnneeeerrrrHHHHaaaannnnddddlllleeeessss and
  1093.           iiiillllVVVViiiieeeewwwwBBBBddddrrrrMMMMiiiiddddddddlllleeeeHHHHaaaannnnddddlllleeeessss.  Note that borders are drawn inside the
  1094.           view.
  1095.  
  1096.      sssseeeettttBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh(((())))
  1097.  
  1098.           void ilViewSetBorderWidth(ilView *obj, int bordWidth)
  1099.  
  1100.  
  1101.           Sets the border width to _w_i_d_t_h pixels. Note that borders are drawn
  1102.           inside the view.
  1103.  
  1104.      sssseeeettttBBBBoooorrrrddddeeeerrrrssss(((())))
  1105.  
  1106.           void ilViewSetBorders(ilView *obj, int flag, int mode)
  1107.  
  1108.  
  1109.           Sets the border flag as specified by _f_l_a_g. If TRUE, borders are
  1110.           turned on, otherwise borders are turned off. Borders will be painted
  1111.           or erased unless defer mode has been set or ilDefer is passed in
  1112.           _m_o_d_e. In addition, if ilNoSwap is passed in _m_o_d_e, the front and back
  1113.           buffers will not be swapped after painting.
  1114.  
  1115.  
  1116.  
  1117.                                                                        PPPPaaaaggggeeee 11117777
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1125.  
  1126.  
  1127.  
  1128.      sssseeeettttCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  1129.  
  1130.           void ilViewSetCallback(ilView *obj, ilCallback* prepare,
  1131.                                  ilCallback* render, ilCallback* finish)
  1132.  
  1133.  
  1134.           Sets the three post-render callbacks to the iiiillllCCCCaaaallllllllbbbbaaaacccckkkk functions
  1135.           specified by _p_r_e_p_a_r_e, _r_e_n_d_e_r and _f_i_n_i_s_h. The prepare and finish
  1136.           callbacks are called from an IL compute thread and are used to
  1137.           allocate and deallocate any needed buffers or to compute and save
  1138.           any state information.  The render callback is called by the IL
  1139.           render thread and must execute as efficiently as possible for
  1140.           maximum performance. Any graphics state changes must be restored
  1141.           before returning from the render callback. Note that the prepare and
  1142.           finish callbacks may be NULL if not required. However, the finish
  1143.           callback is required.
  1144.  
  1145.           The post-render callback(s) is called only if it has been set and
  1146.           enabled.  It may be changed or disabled as needed. The post-render
  1147.           callback is called after the view and borders have been rendered.
  1148.           This allows an application to draw graphics if desired. An
  1149.           iiiillllVVVViiiieeeewwwwCCCCbbbbAAAArrrrgggg is passed to each of the three callbacks and provides
  1150.           member functions to support graphics rendering. For example, the
  1151.           delta view size, position and image position may be queried. See
  1152.           iiiillllVVVViiiieeeewwwwCCCCaaaallllllllbbbbaaaacccckkkk for more information.
  1153.  
  1154.      sssseeeettttDDDDeeeeffffeeeerrrr(((())))
  1155.  
  1156.           void ilViewSetDefer(ilView *obj, int defer)
  1157.  
  1158.  
  1159.           Sets the defer flag the as specified by _d_e_f_e_r. If TRUE, then
  1160.           painting is deferred, otherwise the view is painted after each
  1161.           display operation. If the view is deferred, changes to the view
  1162.           position, view size and image position are accumulated as delta
  1163.           values until the view can be painted.
  1164.  
  1165.      sssseeeettttDDDDiiiirrrrttttyyyy(((())))
  1166.  
  1167.           void ilViewSetDirty(ilView *obj)
  1168.  
  1169.  
  1170.           Indicates that the view needs to be repainted for some external
  1171.           reason (e.g. graphics drawn on top that need to be updated).
  1172.  
  1173.      sssseeeettttEEEErrrrrrrroooorrrrCCCCoooolllloooorrrr(((())))
  1174.  
  1175.           void ilViewSetErrorColor(ilView *obj, float red, float green,
  1176.                                    float blue)
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.                                                                        PPPPaaaaggggeeee 11118888
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1191.  
  1192.  
  1193.  
  1194.           Sets the error color to _r_e_d, _g_r_e_e_n and _b_l_u_e. By default the error
  1195.           color is yellow.  If an error occurs while painting a view, the bad
  1196.           tile is painted with the error color.
  1197.  
  1198.      sssseeeettttIIIImmmmgggg(((())))
  1199.  
  1200.           virtual void ilViewSetImg(ilView *obj, ilImage* ilInImg,
  1201.                                     unsigned imgIdx)
  1202.  
  1203.  
  1204.           Sets the input image to the iiiillllIIIImmmmaaaaggggeeee specified by _i_m_a_g_e.  Since
  1205.           ilView is derived from ilLink, it is chained onto the input image.
  1206.           Thus if a reset occurs in the image, ilView will also be reset.
  1207.  
  1208.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  1209.           (e.g., stereo) to select. Currently only two values are accepted in
  1210.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  1211.           They are ilViewImgPairLeft and ilViewImgPairRight. Since this view
  1212.           class does not support multiple images within a view, however, this
  1213.           parameter is ignored in this implementation.
  1214.  
  1215.      sssseeeettttLLLLoooocccc(((())))
  1216.  
  1217.           void ilViewSetLoc(ilView *obj, float ix, float iy, float x,
  1218.                             float y, int mode, iflOrientation orientation,
  1219.                             unsigned imgIdx)
  1220.           void ilViewSetLocMode(ilView *obj, float ix, float iy,
  1221.                                 int mode, iflOrientation orientation,
  1222.                                 unsigned imgIdx)
  1223.  
  1224.  
  1225.           Sets the location in the image specified by _i_x and _i_y in the given
  1226.           _o_r_i_e_n_t_a_t_i_o_n to the location in the display specified by _x and _y. The
  1227.           image is moved as needed to relocate the specified point.  If
  1228.           iiiillllLLLLooooccccIIIInnnn is passed in _m_o_d_e, the location is found in the input space
  1229.           of the image.  If iiiillllLLLLooooccccOOOOuuuutttt is passed in _m_o_d_e, the location is found
  1230.           in the output space of the image.  For example, if an ilRotZoomIng
  1231.           is mapped to the view and ilLocIn is specified, ix and iy will
  1232.           correspond to the location in the unrotated image. However if
  1233.           ilLocOut is specified, ix and iy will correspond to the location in
  1234.           the rotated image. The relocation can be accomplished by moving
  1235.           either the image or the view. If iiiillllLLLLooooccccVVVViiiieeeewwww is specified then the
  1236.           view is moved, alternatively if iiiillllLLLLooooccccIIIImmmmgggg is specified (default) then
  1237.           the image is moved.
  1238.  
  1239.           The second version determines the desired location based on _m_o_d_e.
  1240.           For example, if iiiillllCCCCeeeennnntttteeeerrrr is specified, the location corresponding to
  1241.           the center of the view is returned. Note that _m_o_d_e is a bit-wise
  1242.           inclusive OR of various flags defined in ilDisplayDefs.h.
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.                                                                        PPPPaaaaggggeeee 11119999
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1257.  
  1258.  
  1259.  
  1260.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  1261.           (e.g., stereo) to select. Currently only two values are accepted in
  1262.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  1263.           They are ilViewImgPairLeft and ilViewImgPairRight.
  1264.  
  1265.      sssseeeettttNNNNoooopppp(((())))
  1266.  
  1267.           void ilViewSetNop(ilView *obj, int noOp)
  1268.  
  1269.  
  1270.           Sets the nnnnoooopppp flag as specified by _n_o_O_p. When the nop flag is TRUE,
  1271.           the view is only affected when it is explicitly specified in a
  1272.           display operation. The view will be unaffected by display operations
  1273.           on the view stack in ilDisplay. However, ilDop can be used to
  1274.           override the nop flag during a display operation. The nop flag is
  1275.           FALSE by default.
  1276.  
  1277.      sssseeeettttPPPPiiiixxxxeeeellll(((())))
  1278.  
  1279.           void ilViewSetPixel(ilView *obj, int x, int y, iflPixel* pix,
  1280.                               int mode, unsigned imgIdx)
  1281.  
  1282.  
  1283.           Sets the pixel at the location specified by _x and _y to the value
  1284.           specified by _p_i_x. If ilDspCoord is specified, the x and y are
  1285.           interpreted as display (window) coordinates. If ilScrCoord is
  1286.           specified, then they are interpreted as screen coordinates. (see
  1287.           also getPixel())
  1288.  
  1289.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  1290.           (e.g., stereo) to select. Currently only two values are accepted in
  1291.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  1292.           They are ilViewImgPairLeft and ilViewImgPairRight.
  1293.  
  1294.      sssseeeettttSSSSttttaaaattttiiiiccccUUUUppppddddaaaatttteeee(((())))
  1295.  
  1296.           void ilViewSetStaticUpdate(ilView *obj, int enable)
  1297.  
  1298.  
  1299.           Enables or disables _s_t_a_t_i_c_U_p_d_a_t_e mode as specified by _e_n_a_b_l_e.  When
  1300.           _s_t_a_t_i_c_U_p_d_a_t_e mode is enabled, it forces a static update to occur
  1301.           whenever the view is painted. Rather than painting a region as many
  1302.           small tiles, each rectangular region is painted as one large tile.
  1303.           By default, static update is disabled. See setAutoStaticUpdate() for
  1304.           more information.
  1305.  
  1306.      sssseeeettttXXXXIIIImmmmgggg(((())))
  1307.  
  1308.           void ilViewSetXImg(ilView *obj, XImage* xInImg)
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.                                                                        PPPPaaaaggggeeee 22220000
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1323.  
  1324.  
  1325.  
  1326.           Sets the input image to the XXXXIIIImmmmaaaaggggeeee specified by _i_m_a_g_e.  Since ilView
  1327.           is derived from ilLink, it is chained onto the input image.  Thus if
  1328.           a reset occurs in the image, ilView will also be reset.
  1329.  
  1330.      sssseeeettttZZZZ(((())))
  1331.  
  1332.           void ilViewSetZ(ilView *obj, float z)
  1333.  
  1334.  
  1335.           Sets the z dimension to be displayed for the mapped image. An
  1336.           ilImage may have a z dimension greater than 1. In which case, any
  1337.           one of these xy planes can be displayed. See also ggggeeeettttZZZZ(((()))).
  1338.  
  1339.      sssshhhhoooowwwwTTTTrrrraaaannnnssssppppaaaarrrreeeennnnccccyyyy(((())))
  1340.  
  1341.           void ilViewShowTransparency(ilView* obj, int enable)
  1342.  
  1343.  
  1344.           If enable is TRUE, then the input image's transparency is used when
  1345.           rendering it to the window. Otherwise, it is ignored.
  1346.  
  1347.      sssspppplllliiiitttt(((())))
  1348.  
  1349.           void ilViewSplit(ilView *obj, int mode)
  1350.  
  1351.  
  1352.           This function repositions and resizes all views in the view stack of
  1353.           ilDisplay so that all views are visible. The _m_o_d_e specifies how the
  1354.           views are arranged. Starting at the bottom of the view stack, views
  1355.           are placed starting at the upper left corner of the display.  The
  1356.           various split modes are listed below:
  1357.  
  1358.           _i_l_A_b_s_S_p_l_i_t  All images are aligned based on the align mode specified
  1359.                       (ilBottomLeft by default).
  1360.  
  1361.           _i_l_R_e_l_S_p_l_i_t  All images are positioned within views based on the view
  1362.                       position.
  1363.  
  1364.           _i_l_R_o_w_S_p_l_i_t  The views are arranged in rows.
  1365.  
  1366.           _i_l_C_o_l_S_p_l_i_t  The views are arranged in columns.
  1367.  
  1368.           _i_l_P_a_c_k_S_p_l_i_t Views sizes are clipped to the size of the image and
  1369.                       packed together.
  1370.  
  1371.           Any combination of these split modes may be used. For example if
  1372.           ilRowSplit | ilColSplit is specified in _m_o_d_e, views are arranged
  1373.           into an equal number of rows and columns.
  1374.  
  1375.      uuuunnnnsssseeeelllleeeecccctttt(((())))
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.                                                                        PPPPaaaaggggeeee 22221111
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1389.  
  1390.  
  1391.  
  1392.           void ilViewUnselect(ilView *obj)
  1393.  
  1394.  
  1395.           This function unselects the view by turning off borders and setting
  1396.           the nnnnoooopppp flag to TRUE. Then the nop flag is TRUE, the view is
  1397.           unaffected during multi-view operations. See also select() and
  1398.           setNop().
  1399.  
  1400.      uuuuppppddddaaaatttteeee(((())))
  1401.  
  1402.           void ilViewUpdate(ilView *obj, int x, int y, int nx, int ny,
  1403.                             float imgX, float imgY, int mode)
  1404.  
  1405.  
  1406.           This function allows the view position, view size and image position
  1407.           to be adjusted. The view is moved as specified by _x and _y. The view
  1408.           size is adjusted as specified by _n_x and _n_y. The image is moved
  1409.           within the view as specified by _i_m_g_X and _i_m_g_Y. All three adjustments
  1410.           are clipped if ilClip is passed in _m_o_d_e. After all three adjustments
  1411.           are made the view is painted, unless ilDefer is passed in _m_o_d_e.
  1412.  
  1413.           If ilDelVal is passed in _m_o_d_e, all parameters specify the change
  1414.           (delta) in position and size. If ilAbsVal is specified, all
  1415.           parameters specify the absolute position or size. If ilRelVal is
  1416.           passed in _m_o_d_e, then all parameters are interpreted relative to a
  1417.           starting xy coordinate maintained within ilDisplay. ilRelVal is not
  1418.           recommended for use with this operator. See
  1419.  
  1420.      wwwwiiiippppeeee(((())))
  1421.  
  1422.           void ilViewWipe(ilView *obj, int x, int y, int mode)
  1423.  
  1424.  
  1425.           This function moves one or more edges on the view. The edge or edges
  1426.           to move are specified in _m_o_d_e. For example, if ilRightEdge is passed
  1427.           in mode, the right edge of the view is moves as specified by _x and
  1428.           _y. In addition, if ilTopEdge | ilRightEdge (or ilTopRight) is
  1429.           specified, then the upper right corner is moved. Note that the value
  1430.           returned by ffffiiiinnnnddddEEEEddddggggeeee(((()))) can be used directly.
  1431.  
  1432.           In general, a wipe operation resizes the view. However, if ilAllEdge
  1433.           is passed in mode, then all edges of the view are moved and the view
  1434.           size is unchanged.  This operation is referred to as an _i_n_s_e_t - the
  1435.           image is stationary and the view moves. This is the opposite of
  1436.           moving the image within the view. When comparing images, wiping is
  1437.           very useful.
  1438.  
  1439.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  1440.           the image position. If ilAbsVal is specified, x and y specify the
  1441.           new position of the image. If ilRelVal is passed in _m_o_d_e, then x and
  1442.           y are interpreted relative to a starting xy coordinate maintained
  1443.           within ilDisplay, which can be set using the ilDisplay's sssseeeettttSSSSttttaaaarrrrtttt(((())))
  1444.  
  1445.  
  1446.  
  1447.                                                                        PPPPaaaaggggeeee 22222222
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1455.  
  1456.  
  1457.  
  1458.           function.
  1459.  
  1460.           If ilClip is passed in _m_o_d_e, the the edge is not allowed to move
  1461.           beyond the edge of the image. However, by default the edge can be
  1462.           moved beyond the edge of the image exposing the image's fill value.
  1463.           If ilDefer is passed in _m_o_d_e, then the view is not painted after the
  1464.           operation.
  1465.  
  1466.      wwwwiiiippppeeeeSSSSiiiizzzzeeee(((())))
  1467.  
  1468.           void ilViewWipeSize(ilView *obj, int x, int y, int mode)
  1469.  
  1470.  
  1471.           This function moves an edge or corner and the opposite edge or
  1472.           corner.  The edge or corner passed in _m_o_d_e is moved as specified by
  1473.           _x and _y. In addition, the opposite edge or corner is moved in the
  1474.           opposite direction. This causes the view to grow or shrink by moving
  1475.           opposite edges or corners. For example, if the right edge is moved
  1476.           right by 10 pixels, the left edge is also moved left by 10 pixels.
  1477.           Note that the value returned by ffffiiiinnnnddddEEEEddddggggeeee(((()))) can be used directly.
  1478.  
  1479.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  1480.           the image position. If ilAbsVal is specified, x and y specify the
  1481.           new position of the image. If ilRelVal is passed in _m_o_d_e, then x and
  1482.           y are interpreted relative to a starting xy coordinate maintained
  1483.           within ilDisplay.
  1484.  
  1485.      wwwwiiiippppeeeeSSSSpppplllliiiitttt(((())))
  1486.  
  1487.           void ilViewWipeSplit(ilView *obj, int x, int y, int mode)
  1488.  
  1489.  
  1490.           This function moves the edge on all views, found by calling
  1491.           ffffiiiinnnnddddEEEEddddggggeeee(((()))) on ilDisplay. All of these edges are moved as specified
  1492.           by _x and _y.  For example, if two views are displayed side by side,
  1493.           the right edge of the left view and the left edge of the right view
  1494.           may be moved simultaneously. This is useful after a split operation.
  1495.  
  1496.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  1497.           the image position. If ilAbsVal is specified, x and y specify the
  1498.           new position of the image. If ilRelVal is passed in _m_o_d_e, then x and
  1499.           y are interpreted relative to a starting xy coordinate maintained
  1500.           within ilDisplay.
  1501.  
  1502. IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  1503.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllLLLLiiiinnnnkkkk
  1504.      ilLinkClearSet(), ilLinkClearStatus(), ilLinkGetDescription(),
  1505.      ilLinkGetDirectParent(), ilLinkGetDisabledIndex(), ilLinkGetFloatProp(),
  1506.      ilLinkGetGenerationID(), ilLinkGetIntProp(), ilLinkGetNumChildren(),
  1507.      ilLinkGetNumParents(), ilLinkGetParent(), ilLinkGetPtrProp(),
  1508.      ilLinkGetRelatedChild(), ilLinkGetRelatedDelete(),
  1509.      ilLinkGetRelatedType(), ilLinkGetStatus(), ilLinkIsAllowed(),
  1510.  
  1511.  
  1512.  
  1513.                                                                        PPPPaaaaggggeeee 22223333
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1521.  
  1522.  
  1523.  
  1524.      ilLinkIsAltered(), ilLinkIsEnabled(), ilLinkIsRelated(), ilLinkIsSet(),
  1525.      ilLinkRemoveParent(), ilLinkRemoveProp(), ilLinkSetDescription(),
  1526.      ilLinkSetDisabledIndex(), ilLinkSetEnabled(), ilLinkSetParent(),
  1527.      ilLinkSetProp(), ilLinkSetRelatedDelete(), ilLinkSetRelatedType()
  1528.  
  1529.  
  1530. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  1531.      ilDisplay, ilViewCallback, ilStereoView, <il/ilDisplayDefs.h>
  1532.  
  1533.  
  1534. NNNNOOOOTTTTEEEESSSS
  1535.      Many display operators take a _m_o_d_e parameter which is a bit-wise
  1536.      inclusive OR of various flags defined in <il/ilDisplayDefs.h>. These
  1537.      flags are interpreted based on which operator is called. For example,
  1538.      iiiillllCCCCeeeennnntttteeeerrrr can be used to align a view or can be used to locate the center
  1539.      of a view.
  1540.  
  1541.      If there is no image mapped to an ilView, the view is painted with the
  1542.      background color. The background color defaults to black.
  1543.  
  1544.      If an error occurs during rendering, the bad tile is painted with the
  1545.      error color.  The error color defaults to magenta.
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.                                                                        PPPPaaaaggggeeee 22224444
  1580.  
  1581.  
  1582.  
  1583.